package com.alit.face.koala.controller;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.alit.face.koala.co.BaiduFaceTokenCO;
import com.alit.face.koala.service.KoalaStrangerSerive;

/**
 * 
 * @author litong
 * 用于变量的追踪
 *
 */
@RestController
@RequestMapping("trace")
public class TraceController {

  @Autowired
  private KoalaStrangerSerive kss;
  @RequestMapping("lastFace")
  public Map<String,BaiduFaceTokenCO> lastFace(){
    return kss.getLatFace();
  }
}
